﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace QcRiverFlows.Models
{
    public class Region
    {

        public int Id { get; set; }

        [Display(Name ="Nom de la Région")]
        [Required]
        [StringLength(20, ErrorMessage = "The {0} must be at least {2} characters long.", MinimumLength = 6)]
      //  [DataType(DataType.Password)]
        public string Name { get; set; }

        public ICollection<River> Rivers { get; set; }

    }
}